using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Principal;

namespace Utility
{
    public class LoninInfo
    {
        static string userName = null;
        static int userID = -1;
        public LoninInfo(){}
        public LoninInfo(string username, int userid)
        {
            if (userName == null)
            {
                userName = username;
            }
            if (userID < 0)
            {
                userID = userid;
            }
        }

        public string UserName
        {
            get
            {
                return userName;
            }
        }
        public int UserID
        {
            get
            {
                return userID;
            }
        }
    }
}
